<template>
	<view class="mg20">
		<button type="primary" @click="onclickme">点我</button>
		<modal-comp
			ref="modalRef"
			title="BASIC MODAL"
			content="第一个对话框即可登记卡佳都科技爱看大家看京东卡几大块你的看看到接口的就爱看京东卡京东卡节点卡卡借京东卡觉得卡机"
			:custom="true"
		>
			<view>这是个slot</view>
		</modal-comp>
	</view>
</template>

<script>
    export default {
        data(){
        	return {

			}
		},
		methods:{
			onclickme(){
				this.$refs.modalRef.showModal();
			}
		}
    }
</script>

<style scoped>

</style>
